package hxy.bytecode.ioc;

/**
 * LOL英雄
 */
public class Hero {

	// 英雄名称
	private String name;
	// 装备名称
	private String outfit;

	public Hero() {

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOutfit() {
		return outfit;
	}

	public void setOutfit(String outfit) {
		this.outfit = outfit;
	}
	
	public void say(){
		System.out.println(name + "购买了" + outfit);
	}
}